package com.dytj.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.dytj.pojo.Category;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;

public class CategoryDao {
	
	public static Category addCategory() throws SQLException {
		Category category = new Category();
		Connection conn = (Connection) DBUtil.getConn();
		Statement st = (Statement) conn.createStatement();
		//sql处理
		String sql = "";
		ResultSet rs = st.executeQuery(sql);
		while(rs.next()){
			
		}
		rs.close();
		st.close();
		conn.close();
		return category;
	}
}
